package com.guan.ordering_sys.generator.service.impl;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guan.ordering_sys.generator.entity.PaymentProcess;
import com.guan.ordering_sys.generator.mapper.PaymentProcessMapper;
import com.guan.ordering_sys.generator.service.PaymentProcessService;
import com.guan.ordering_sys.vo.PaymentProcessVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 林煜岚
 * @since 2021-06-23
 */
@Service
public class PaymentProcessServiceImpl extends ServiceImpl<PaymentProcessMapper, PaymentProcess> implements PaymentProcessService {

    @Autowired
    PaymentProcessMapper paymentProcessMapper;

    @Override
    public IPage<PaymentProcessVo> getPaymentProcess(Page<PaymentProcessVo> paymentProcessVoPage) {
        IPage<PaymentProcessVo> paymentProcessVoIPage = paymentProcessMapper.getPaymentProcess(paymentProcessVoPage);
        return paymentProcessVoIPage;
    }
}
